#ifndef SDK_OHOS_API_OHOS_VIDEO_SOURCE_INTERFACE_H_
#define SDK_OHOS_API_OHOS_VIDEO_SOURCE_INTERFACE_H_

#include "ohos_media_source_interface.h"
#include "api/video/video_frame.h"
#include "api/video/video_frame.h"
#include "api/media_stream_interface.h"

namespace ohoswebrtc {

class OHOSVideoSourceInterface : public OHOSMediaSourceInterface {
  public:
    /** Capture call OnCapturedFrame to support frame */
    virtual void OnCapturedFrame(const webrtc::VideoFrame &frame) = 0;
    /** VideoTrackSourceInterface */
    virtual rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> video_source() = 0;
    /** is_screencast */
    virtual bool is_screencast() = 0;
  protected:
    virtual ~OHOSVideoSourceInterface() {}
};

}

#endif